#{extends 'main.html' /}
#{set title:'Edit users info' /}

<form action="@{Admins.editUsersInfo()}" method="post">
   User ID:		<input type="hidden"		name="userId"		value="${userId}"/>
   <br>
   First Name:	<input type="text"		name="fname"		value="${firstname}"		/> 
   <br>
   Last Name:	<input type="text"		name="lname"		value="${lastname}" 		/>
   <br>
   Username:	<input type="text"		name="username"		value="${usernaame}" 	/>
   <br>
   Password:	<input type="password"	name="password"		value="${userPassword}" 	/>
   <br>
   Phone Number:<input type="text" 		name="phoneNumber"	value="${userPhone}" 	/>
   <br>
   Address:		<input type="text" 		name="address"		value="${userAddress}" 		/>
   <br>
   E-mail:		<input type="text"		name="email"		value="${userEmail}" 		/>
   <br>
   isAdmin (true or false):		<input type="text"	name="isAdmin" value="${userAdmin}"/> 
  <br>
   
    <input type="submit" value="Edit" />
</form>